<template>
    <Header></Header>
    <!-- 搜索历史记录 -->
        <section>
            <div class="search-history">
                <h2>
                    <i class="iconfont icon-fangdajing"></i>
                    <span>搜索历史</span>
                    <span>清空</span>
                </h2>
                <ul>
                    <li>上衣</li>
                    <li>上衣</li>
                    <li>上衣</li>
                    <li>上衣</li>
                    <li>上衣</li>
                    <li>上衣</li>
                </ul>
            </div>
        </section>
</template>

<script setup>
import Header from '@/components/Search/Header.vue'
</script>

<style scoped>
<style scoped>
.search{
    width: 100vm;
    height: 100vm;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}
section{
    flex: 1;
    background-color: #fff;
    overflow: hidden;
}
.search-history h2{
    position: relative;
    padding: 0.2rem;
    font-weight: 300;
    font-size: 0.4rem;
}

.search-history h2 span:last-child{
    position: absolute;
    right: 0.4rem;
    font-size: 0.35rem;
}
.search-history ul{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0 0.26rem;
}
.search-history ul li{
    padding: 0.08rem 0.16rem;
    margin: 0.2rem ;
    font-size: 0.35rem;
    border: 1px solid #ccc;
    border-radius: 0.2rem;
    
}
</style>